export const enum Types {
    SUCCESS = 'success',
    ERROR = 'error',
    MSG = 'msg',
    WARN = 'warn',
};

export interface IProps {
    txt?: string;
    type?: Types;
}

export interface IState {
    show: boolean;
    top: number;
}

export interface IExpose {
    height: number;
    margin: number;
    setTop: (top: number) => void;
    setVisible: (flag: boolean) => Promise<void>;
}
